/**
* 版权所有:版权所有(C) 2020，卓信科技
* 系统名称:FOl-管理系统
* 文件名称:SysApplyType.java
* 模块名称:申请单类
* 创建日期:2020年5月19日
* 作        者:Baisong
* 内容摘要:申请单类
*/
package com.zx.emanage.util.gen.entity;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

import com.zx.sframe.util.mybatis.BaseEntity;

/**
 * 类  名  称:SysApplyType
 *
 * 内容摘要:申请单类
 *
 * 作        者:Baisong
 */
public class SysApplyType implements BaseEntity 
{
	private static final long serialVersionUID = 1L;
	
	private Integer id;
	
	private String apply_type_no;
	
	private String apply_type_name;
	
	private String create_user_name;
	
	private java.sql.Timestamp create_timestamp;
	
	private String create_timestamp_str;
	
	private Integer last_update_user_id;
	
	private java.sql.Timestamp last_update_timestamp;
	
	private String last_update_timestamp_str;
	
	private String remark;
	
	private String content;
	
	private Integer apply_type_org_id;
	
	private Integer apply_type_pid;
	
	private boolean isExcludePKFlag;
	
	private String apply_type_cate;
	
	private Integer aboutsystem;
	
	public String getApply_type_cate()
	{
		return apply_type_cate;
	}

	public void setApply_type_cate(String apply_type_cate) 
	{
		this.apply_type_cate = apply_type_cate;
	}

	/**
	 * 添加默认签收人ID和姓名@MATF
	 */
	private String receiving_personnel_id;
	
	private String receiving_personnel_name;
	
	
	/**
	* default val cols name array
	*/	
	private static String[] defaultValColArr = {
	};
	
	/**
	* pk cols name array
	*/	
	private static String[] pkColArr = {
	  	"id"
	};
	
	private static String[] columnNameArr = {
		"id",
		"apply_type_no",
		"apply_type_name",
		"create_user_name",
		"create_timestamp",
		"create_timestamp_str",
		"last_update_user_id",
		"last_update_timestamp",
		"last_update_timestamp_str",
		"remark",
		"content",
		"apply_type_org_id",
		"apply_type_pid",
		"isExcludePKFlag"
	};
  
	public Integer getId () 
	{
		return id;
	}
	
	public void setId (Integer obj)
	{
		id = obj;
	}
	
	public String getApply_type_no () 
	{
		return apply_type_no;
	}
	
	public void setApply_type_no (String obj)
	{
		apply_type_no = obj;
	}
	
	public String getApply_type_name () 
	{
		return apply_type_name;
	}
	
	public void setApply_type_name (String obj)
	{
		apply_type_name = obj;
	}
	
	public String getCreate_user_name ()
	{
		return create_user_name;
	}
	
	public void setCreate_user_name (String obj) 
	{
		create_user_name = obj;
	}
	
	public java.sql.Timestamp getCreate_timestamp () 
	{
		return create_timestamp;
	}
	
	public void setCreate_timestamp (java.sql.Timestamp obj) 
	{
		create_timestamp = obj;
	}
	
	public String getCreate_timestamp_str () 
	{
		return create_timestamp_str;
	}
	
	public void setCreate_timestamp_str (String obj) 
	{
		create_timestamp_str = obj;
	}
	
	
	
	public java.sql.Timestamp getLast_update_timestamp ()
	{
		return last_update_timestamp;
	}
	
	public void setLast_update_timestamp (java.sql.Timestamp obj) 
	{
		last_update_timestamp = obj;
	}
	
	public String getLast_update_timestamp_str () 
	{
		return last_update_timestamp_str;
	}
	
	public void setLast_update_timestamp_str (String obj) 
	{
		last_update_timestamp_str = obj;
	}
	
	public String getRemark () 
	{
		return remark;
	}
	
	public void setRemark (String obj) 
	{
		remark = obj;
	}
	
	public String getContent () 
	{
		return content;
	}
	
	public void setContent (String obj) 
	{
		content = obj;
	}
	
	public Integer getApply_type_org_id () 
	{
		return apply_type_org_id;
	}
	
	public void setApply_type_org_id (Integer obj)
	{
		apply_type_org_id = obj;
	}
	
	public Integer getApply_type_pid () 
	{
		return apply_type_pid;
	}
	
	public void setApply_type_pid (Integer obj) 
	{
		apply_type_pid = obj;
	}
	
	public boolean getgetIsExcludePKFlag () 
	{
		return isExcludePKFlag;
	}
	
	public void setgetIsExcludePKFlag (boolean obj)
	{
		isExcludePKFlag = obj;
	}

	public Integer getLast_update_user_id() 
	{
		return last_update_user_id;
	}

	public void setLast_update_user_id(Integer last_update_user_id) 
	{
		this.last_update_user_id = last_update_user_id;
	}

	
	/**
	* put all columns into a map
	*/
	public void putInMap(Map<String, Object> paramMap) 
	{
		paramMap.put("id", this.id);
		paramMap.put("apply_type_no", this.apply_type_no);
		paramMap.put("apply_type_name", this.apply_type_name);
		paramMap.put("create_user_name", this.create_user_name);
		paramMap.put("create_timestamp", this.create_timestamp);
		paramMap.put("create_timestamp_str", this.create_timestamp_str);
		paramMap.put("last_update_user_id", this.last_update_user_id);
		paramMap.put("last_update_timestamp", this.last_update_timestamp);
		paramMap.put("last_update_timestamp_str", this.last_update_timestamp_str);
		paramMap.put("remark", this.remark);
		paramMap.put("content", this.content);
		paramMap.put("apply_type_org_id", this.apply_type_org_id);
		paramMap.put("apply_type_pid", this.apply_type_pid);
		paramMap.put("isExcludePKFlag", this.isExcludePKFlag);
	}
	
	/**
	* return the columns map
	*/
	public Map<String, Object> getInfoMap() 
	{
		Map<String, Object> paramMap = new HashMap<String, Object>();
		this.putInMap(paramMap);
		return paramMap;
	}
	
	/**
	* remove default value and pk if it is null
	*/
	private Map<String, Object> dealWithMap(Map<String, Object> paramMap)
	{
		Set<String> set = new HashSet<String>();
		//循环
		for (String colName : defaultValColArr) 
		{
			set.add(colName);
		}
		//循环
		for (String colName : pkColArr) 
		{
			set.add(colName);
		}
		Iterator<String> iterator = set.iterator();
		//循环
		while (iterator.hasNext()) 
		{
			String colName = iterator.next();
			//判断
			if(paramMap.get(colName) == null) 
			{
				paramMap.remove(colName);
			}
		}
		return paramMap;
	}

	public String getReceiving_personnel_id()
	{
		return receiving_personnel_id;
	}

	public void setReceiving_personnel_id(String receiving_personnel_id)
	{
		this.receiving_personnel_id = receiving_personnel_id;
	}

	public String getReceiving_personnel_name() 
	{
		return receiving_personnel_name;
	}

	public void setReceiving_personnel_name(String receiving_personnel_name)
	{
		this.receiving_personnel_name = receiving_personnel_name;
	}

	public Integer getAboutsystem()
	{
		return aboutsystem;
	}

	public void setAboutsystem(Integer aboutsystem)
	{
		this.aboutsystem = aboutsystem;
	}

	
}